package com.tiger.cmpeb.sample4;

import java.rmi.RemoteException;

import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;

public abstract class ReservationBean01 implements EntityBean {

	private static final long serialVersionUID = 1L;
	
	private EntityContext entityContext = null;

	public abstract Integer getReservationID();

	public abstract void setReservationID(Integer reservationID);

	public abstract String getReservationName();

	public abstract void setReservationName(String reservationName);

	public abstract Flight01 getFlight();

	public abstract void setFlight(Flight01 flight);

	public void setEntityContext(EntityContext arg0) throws EJBException, RemoteException {
	}

	public Integer ejbCreate(Integer reservationID, String reservationName) throws CreateException {
		setReservationID(reservationID);
		setReservationName(reservationName);
		return reservationID;
	}

	public void ejbPostCreate(Integer reservationID, String reservationName) {

	}

	public void unsetEntityContext() throws EJBException, RemoteException {
	}

	public void ejbActivate() throws EJBException, RemoteException {
	}

	public void ejbLoad() throws EJBException, RemoteException {
	}

	public void ejbPassivate() throws EJBException, RemoteException {
	}

	public void ejbRemove() throws RemoveException, EJBException, RemoteException {
	}

	public void ejbStore() throws EJBException, RemoteException {
	}

}
